<?php use_helper('PA_Links') ?>
<?php use_helper('PA_Core') ?>
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <?php echo PACore::getStylesheets(array(), array('document.css')) ?>
    <?php echo PACore::getJavascripts() ?>
    <title><?php include_slot("title", "ProductionAssist") ?></title>
    <script type="text/javascript">
      var defaultTab = 'StoreTab';
      <?php if($sf_user->hasFlash('info')) echo 'alert("'.$sf_user->getFlash('info').'");' ?>
      $(document).ready(function(){
        var maxWidth = 0;
        $("table").each(function(){ if($(this).width() > maxWidth) maxWidth = $(this).width()});
        var width = maxWidth + 70;
        var height = $("body").height() + 70;
        window.resizeTo(width, height);
        });
    </script>
  </head>
  <body>
    <div class="cContent"><?php echo $sf_content ?></div>
  </body>
</html>
